import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// import 'dayjs/locale/zh-cn';//组件中文
// import locale from "element-plus/lib/locale/lang/zh-cn";
import * as echarts from 'echarts'
import components from "./components/index"
import "./assets/css/reset.css"
// import "lib-flexible/flexible.js"
import "./assets/js/rem.js"
import "./assets/js/kang.min.css"
const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.config.globalProperties.$echarts = echarts;
app.use(router).use(ElementPlus).use(components).mount('#app')